draw an equilateral triangle with for loops